package com.crishne.anwo.service;
 
import java.util.List;

import com.crishne.anwo.model.Menu;
import com.crishne.anwo.utill.PaginationUtil;
 
 
public interface MenuService {
 
    public void addMenu(Menu menu);
    
  //删除信息  
    public void deleteMenu(String id);  
    
    //修改信息  
    public void updateMenu(Menu menu); 
    
    public List<Menu> getAllMenus();
    
    public List<Menu> getHaveUrlMenus();
    
    //根据ID查询信息  
    public Menu selectMenuById(String id); 
    
    public List<Menu> getMenusByName(String stMenuName);
    
    public List<Menu> getMenusByUserId(String stUserId);
    
    public PaginationUtil<Menu> searchMenus(PaginationUtil<Menu> pageConditions);
}